package cn.lhl.flowable;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync //开启异步任务
@EnableScheduling //开启定时任务
@SpringBootApplication
public class AppDemo_flowable_main {
	public static void main(String[] args) {
		SpringApplication.run(AppDemo_flowable_main.class,args);
		System.out.println("启动ok");
	}

	//@Scheduled(cron ="*/5 * * * * ?")
	public void sayHello() {
		System.out.println("hello");
	}

}
